Update to handle mids in deps/*/app