bugfix emerge type for slotted packages
implemented some sugestions from nico
Merge branch 'bugfix_type__package_emerge' of https://github.com/dheule/cdist
++changes

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>