Fixed issues with uninstalled dependencies (https://github.com/OPENi-ict/openi-dev-env/issues/2)