Removed unsafe and unnecessary call to get_current_dir()