Expand tilde in repository path (fixes #8)