Fix path resources extraction

Handle case of no path element in Resources.
Merge pull request #7 from jkuczm/multiple_versions_tests

Fix path resources extraction