utils: Fix commit checking on detached HEAD
utils: Fix commit checking on detached HEAD

storytouch/etherpad-lite,storytouch/etherpad-lite,ether/etherpad-lite,ether/etherpad-lite,storytouch/etherpad-lite,ether/etherpad-lite