Guard against nil elapsed_time in longest_build_part