Sometimes one is provided with code on a VM where the code sits on a disk of its own. Browsing from root dirs would be useful in this case. Perhaps present a warning but allow the user to continue if they understand the consequences.