pub fn append_pwd_to_pythonpath(current_dir: PathBuf) -> HashMap<String, String>
Appends the current directory to PYTHONPATH if it is valid.