Fix bug #18892: Parse error in Installer.php

Cherry-picked from 097a1f9113b50db035c4f4bfc5d781100150d72e