NXP-14868: cleanup and factorization

Explicit call to required MD5 digest rather than default
Merge pull request #1 from nuxeo/fix-NXP-14868-init-repositoryName

NXP-14868: cleanup and factorization