Fallback the PWD and fix up #expand_path.