Fix bug: disable hack if appengine is not available