Refine status logic when detecting only-in-source packages