Do not read the global flags file twice.

This fix is ugly.