Fix 'JvmBinary with no `source` causes duplicate detection to fail hard'.