bugfix: make type actually work with --state absent

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
Merge branch 'issue/280' of git://github.com/asteven/cdist