Throw if trying to get deps when dep is null
Merge pull request #7 from BastianHofmann/domain-dependency-managment

Throw if trying to get deps when dep is null