TANAL-7: Change utils/maybe-class to return arrays in fewer cases

Signed-off-by: Bronsa <brobronsa@gmail.com>