Fix 2505 - Part 1/2

This removes all use of storeconfig from the foreman module.