fixed launchctl list returned unknown response and changed  ${JENKINS_USER}******** to ${JENKINS_USER:+$JENKINS_USER********}