diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 6bd3152..7dec4b3 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -166,7 +166,7 @@ EOF
end
end
end
- File.write("#{name}.status", final_status[name].to_s + "\n")
+ File.write("#{name}.status", (final_status[name] || :unknown).to_s + "\n")
end
end
final_status