Fixed problem with creating PACKAGES file