[backend] do not overwrite non-volatile packages with volatile ones
[backend] postpone useforbuild checking for prps with no packages

This should ease transition to the new full handling for manually
created "base" repos.