call done() or pass deferred.reject directly to fail

Not sure what this line is supposed to do.