If a reference name wasn't provided, don't save the path