Bug: missing dependencies are being reported even if there are no such

This PR fixes the two bugs introduced in 0.3.0. I believe this fix should be v0.3.1.
Because the returningValue variable is used later on by `subscriber.deferred.resolve(returningValue);`