Allow for possibility that portal does not return classes

This seems to be the case in the dev portal

[#65197890]