relativePathResolver fixed for sources ended with slash [closes #408]