[CHEF-5147]dont check for dependencies if include-dependency is set to false