fix the file in directory test
fix typo
make sure guestimated package is returned correctly.
abstract packages-list to archive-list logic
better indentation of this bit
restructure a lot so we can run tests with elpakit.