[backend] make sure not to replace a good remote project entry with a proto

This should fix issues with pacman obs instance.