You need to change this line (L10) to `mv -v deps/*/deps/* deps/ 2>/dev/null ; rmdir $(wildcard deps/*/deps/))` in order to reflect old behaviour.
Otherwise a repo with deps that themselves have no deps will not build.