Bug 1050014 - Cannot deploy bundle to EAP domain mode

Not a bad idea Libor. But I'd like to merge the PR today. If @loleary and others think this is a good idea as well I'll implement this after 4.12 is out.