Fix get_path to return a map response