Calling apache::mod::rewrite instead of Apache::Mod class directly. Fixes redmine 22922 and github #411