WFLY-3531 for applications with JPA persistence units, every deployment/subdeployment ends up with the NEXT_PHASE_DEP set up