Fixed a null pointer exception while trying to determine starting brand