[#1646] fix in order to make dependencies to contributed modules work again

After the resolved ticket [#781] "Load dependencies in order of the dependencies.yml file" the "play deps" command could not find contributed modules anymore. The applied patch fixes that issue by doing the same check as the install-method.