Fixing the base packeage scan