SP-820 Regression of BISERVER-10553 - Subaction component is broken in 5.0 (5.0)

See BISERVER-10724 xactions with contentrepo (JCR) destinations are not having their output saved to the repository

This is a cherry pick commit for work which was done and tested against 5.0.