make fab migrate run in preindex code/env
Merge pull request #3601 from dimagi/fix-fab-migrate

make fab migrate run in preindex code/env