improve get_customer_resilient to not be deceived by blank values