Fix behaviour when anonymous user triggers build