Fixed bug in list_commands where commands in unzipped packages would go heywire