modified ybs-deps-check