Throw if trying to get deps when dep is null