ThemeManager: handle possible npe in processThemeResources

Change-Id: I987168b75844708853a434d6447573faecc56e90