bugfix: handle multiple ref inputs based on whether the ref is ambiguous
bugfix: handle multiple ref inputs based on whether the ref is ambiguous

kactus-io/kactus,say25/desktop,gengjiawen/desktop,hjobrien/desktop,desktop/desktop,j-f1/forked-desktop,j-f1/forked-desktop,desktop/desktop,hjobrien/desktop,hjobrien/desktop,shiftkey/desktop,shiftkey/desktop,artivilla/desktop,desktop/desktop,say25/desktop,artivilla/desktop,artivilla/desktop,j-f1/forked-desktop,gengjiawen/desktop,gengjiawen/desktop,kactus-io/kactus,kactus-io/kactus,shiftkey/desktop,shiftkey/desktop,kactus-io/kactus,j-f1/forked-desktop,gengjiawen/desktop,say25/desktop,desktop/desktop,say25/desktop,artivilla/desktop,hjobrien/desktop