backup working hook
fix multiple gear loops - reversing out a lot off commit https://github.com/narmitag/openshift-origin-cartridge-tdf/commit/b0c7147f7d413960cccea4da81b5eea8b9979009#diff-2a6353558e6bd9c6977fbbe57feb83f1