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.
Then why does the value comes from outside? I think this whole block should be encapsulated in a stategy:

```
var returningValue = strategy.buildReturningValue(self._dependencies);
if (subscriber.callback)
{
  strategy.invokeCallback(subscriber.callback, returningValue);
}
```