Use os.path.expanduser() instead of os.environ

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>