Fix code climate remote execution complaint

Unsafe reflection method constantize called with parameter value.

Use existing STI type constantize method