Protect against unset current_path