[WFLY-3280] Fix potential deadlock in EJB deployment repository actions ...

...which call out to user code under a lock