[core] Check Oracle client only when Oracle is installed