fix(core): correct validator path generation

Signed-off-by: Johny Jose <johny@playlyfe.com>