HipChat: Only check branch restriction on pushes

Issue introduced by #481