OS-2183 fix 'make check' cleanliness regression introduced by IMGAPI-152.