fixes #5079 - fixing error on puppet module upload

undefined local variable or method create_index for Katello::PuppetModule:Class