Extract resource path building into private method.
Merge pull request #12 from SURFnet/maintenance/resource-path

Extract resource path building into private method