Fix path resolution in isEmpty.
v0.3.4