[WFLY-3661] Take into account that MBeanRegistration.preRegister() could recalculate names also when not null, and better error handling + comments