complatation: correctly expand --install [RHBZ#1168220]

previously it print either src.rpm or .rpm. Whatever was first or last in directory listing.