Fix segfault on missing reference genome.