fix #8782, `pushmeta!` on empty functions