Fix wrong dependency metric

Previously if a project was generated  with no defined dependency; a
metric with id 'counter.initializr.dependency.' was published. We now
make sure to properly identify that default use case and no metrics gets
published in such a case.

Fixes gh-57