error catching for mozillian in profile

added error catching for if mozillian is not available in profile