Check existence against path, not full resource string

...with accompanying test. :)