Fixed gis test to run on non gis-enabled settings

Refs #20998.