Reorder hook enabled to be compatible with latest stash (3.5.0)

The hook enable logic needs to be reversed and values need to be passed to /enabled to prevent REST errors with stash.

See: 
https://jira.atlassian.com/browse/STASH-5036
https://bobswift.atlassian.net/browse/SCLI-44
https://bobswift.atlassian.net/wiki/questions/83492885