Don't permit ref/branch names to end with ".lock"