Actually check if dirs are empty when installing pack