fixing local_settings import trick--not supposed to throw exception if not present