deps: Don't strip last dir from dependency path