adds a utility script to get rc branches

Why not just use line.strip()?