The search pattern used for rpms when using --prebuilt is .rpm instead of .rpm causing all sorts of weird behaviour.
Fixed in a77cb12a909e7d76abf13