Add support for BitBucket's awful POST hook.