Fix NPE in new debug line when patch targets don't exist.