mod_rayo: fix segfault in prompt component