Test if location exists

If the location does not exist in the config data then it is null and cannot
have gsub run on it. This occurs when dealing with projects which are not on
disk currently.