Defend against empty location in go commands.