Ensure export shells do not navigate out of the script files directory.