Enforce that xpath is not empty