Issue #2625820 by tstoeckler, alexpott, mirom, valthebald, pfrenssen, raman.b, Mile23, andypost: install_check_translations() sometimes incorrectly returns NULL instead of array (cherry picked from commit cb567e62)