chroot: sanitize path

path was not being sanitized if it started with '/' causing chroot calls
to fail when path ended with '/'.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>