Make sure callback happens if a model is not attached to the data source

/to @bajtos or @ritch 

The PR fixes a hang issue during `automigrate` if one of the models is not attached to the data source.

I'll add a test in connectors.
Why is this necessary? I'd expect `async.each` to handle the case of an empty array correctly.