[BISERVER-11268] - adding the encode/decode repositoryPath functions back in

[BISERVER-11268] - adding the encode/decode repositoryPath functions back in