fix for ndb import

Issue: https://github.com/AppScale/appscale/issues/1501