Be defensive if there is no main/classes