Deal with missing local packages better