RE: [PATCH v3 04/10] reg: Add sane_path function to do preliniary key validation