Fix branches, tags and protected_branches routing