Throw descriptive exceptions when we cannot read the mongodb URI

Throw more descriptive exceptions as described in #68