Add rule to test for git_token
I've added rules to the jobs using the GIT_TOKEN var to never run the job when the token is not available.
The tokens are typically configured to be only available on the protected (default) branch. This makes the token unavailable on feature branches, resulting in pipeline errors. The current tests avoid this error.