fix for commit handling in webhook POST