Don't output post/prefix if not set

fixes 50% of the tests ;)