fix for relative refs not containing a hash; to better conform with RCF6901