A bug-fix for die_on_unsafe_path() when the path doesn't exist.