Fix branch in is_up_to_date function for nightlycompile.sh