upgrades the way to extract refs with rugged

Apparently it no longer accepts regexps, only glogs as strings.