filter out branches without version info