Change the Any::Moose hook so it actually works

Signed-off-by: Petr Šabata <contyk@redhat.com>