REC-232: Add a default ref is it not defined in the short url