Workaround for puppet console restart bug