Fixed persistent error in detecting just-installed python packages.