removes duplicate implementation of get_project_host_map