Make references of the form foo @x/y (or similar) include the @ in the refdb name