Btrfs: Fix version.sh when used outside of an hg repo