Fix scaffolding if Kaminari is not defined

`defined?` was mistyped.