Another method is to use the if expression:
if(equals(item()?['accountName'], null),'',item()?['accountName'])