truncate default branch names if too long

...not sure if this will even work :D