Fix monitor plugin for resilient stack

The original work for [monitor to plugin migration](!614) missed
important parts of resilient stack implementation due to lack of SlapOS
Profile Integration test coverage for those cases.

/reviewed-on !659
1 job for fix/collective.recipe.shelloutput-return-code
Status Job ID Name Coverage
  External
failed SlapOS.SoftwareReleases.IntegrationTest-Master