If repo bare, prevent disallowed commands from being run