[1.5.x] Fixed a string detection in ogrinspect.py
[1.5.x] Fixed a string detection in ogrinspect.py

Backport of 61407951 from master.

alx-eu/django,bliti/django-nonrel-1.5,bliti/django-nonrel-1.5,imtapps/django-imt-fork,hasadna/django,alx-eu/django,ccn-2m/django,ccn-2m/django,ccn-2m/django,imtapps/django-imt-fork,hasadna/django,imtapps/django-imt-fork,bliti/django-nonrel-1.5,hasadna/django,alx-eu/django,ccn-2m/django,alx-eu/django