ramips: fix regression from r39949 (#15382)