Remove spurious /foo/ from dependency URL