Define IS_TAGGED as false when tagging isn't used.

Avoid unnecessary conditional compilation.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Use UNITTESTS definition for this condition

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Use normal if and avoid conditional compilation.

Signed-off-by: Stefan Marr <git@stefan-marr.de>