Fix #438 - Add fallback to avoid ImportError in Google App Engine (no pkg_resources)