properly assess if a remote rpm is in our server

for #187
upload remote rpms on right server but wrong repo

for #187