dont lookup sf path if ref is empty