Avoid potential NPE in Utils.isTablet()