Add GetReference()

Good catch! Let me file an issue to disallow flexible path prefixes or have another way to retrieve version info. Thanks.