Fix undefined foreman_url error on EL6