Add missing DomainController import

While I'm here be more specific about what exception to catch so those
kind of errors dont go unnoticed again.

Ticket:	#4062