[rpm] Fix configuration copy