[1.7.x] Fixed an inspectapp test on Oracle GIS.

This is fixed more elegantly with a feature flag on master in 33e817a6d8.