Added path to exist, supporting optional "type" part

Since the type is an optional part, there needs to be a path that can be used without it.