fix katello build

test SC path to LdapFluff config too
load minimal environment for source_code_test.rb by RAILS_ENV == 'build'