73f7f58 hooks: Only block new branches

Authored and Committed by lsedlar 2 years ago
    hooks: Only block new branches
    
    Tags should be allowed, but any other new reference will be blocked.
    
    Fixes: #4237
    Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>