fixed error if package got deleted form files dir

added some docs