Check if a file is a proper package before showing it

In case the package repository contains several file types, the
server exposes all by default. For instance, it exposes html files
as package files...