register.cgi: minor condition improvement
pf::class: minor variable definition improvement