Fix check for non-x86 architectures

Fixes issue introduced by !2228 (merged)

Merge request reports

Loading