Fixes #4088: Fix policy.xml to metada.xml conversion failure in case of ...

...existing metadata.xml

Ticket: http://www.rudder-project.org/redmine/issues/4088

To be merged in 2.4