Addressing breaking IFileSystem changes

@pranavkm
This should be an `else if`. Otherwise it'll allow `~//` :smile: