Testing for "master" or "HEAD" for branch names not to include in filename.