Handle files other than wheels in the dist directory

Installing packages that include files in the dist directory
(e.g. cmislib) will fail depending on the order of os.listdir()