fix for #122: 'scoop reset' incorrectly used ~ rooted paths for environment variables