Add check for existing post merge hook