NXP-14868: cleanup and factorization
Merge pull request #1 from nuxeo/fix-NXP-14868-init-repositoryName

NXP-14868: cleanup and factorization