Regression in 6e916e5 - Templates for image-based hosts can no longer be rendered
in #746, the method which retrieves available templates was refactored. In doing so, an error was introduced, where we try to call
however, compute_attributes is a normal hash, it has no cr method. It should be
PR incoming, with a test to cover it.
Fixes #8321 - correctly pull Compute Resource image method from compute attributes