create physical repository  when packages is change or not have packages (close #24)