Fixes Grunt migrate task so that it works correctly in development

Need to modify the upstream grunt module so that it can support
multiple environments, but this is good enough for now.