Fix test for string type

The test for the string type on the cmds parameter in getGeoPathStr() at line 4100 fails because `type()` is used instead of `__type()`.