Fixed typo when testing whether commands parameter for getGeoPath is a string.