Fixing error when stop action hook is called by openshift.
Merge pull request #1 from ShaggyD/master

Fix for failure in "stop" actionhook.