Refactor FORCE_BRANCH functionality.

Do not run tests in the FORCE_BRANCH if the tests do not start on master.