Bug 1050014 - Cannot deploy bundle to EAP domain mode

FYI, there is already an RFE:
Bug 714785 - perform discovery after a bundle deployment