Fix FileCheck crash when empty prefix is passed.