utils: Remove redundant list comprehension