Unify the exception messaging for no node found