Env: fix stage path validation

Signed-off-by: Eduardo Silva <eduardo@monkey.io>