[api] fix import of old distributions.xml file when using rpm packages