build_all_and_push.sh: Fixed push retry code