WP-3684 Set the repository name before call to getObjectByPath