Add try except to is_admin check. Fix #645

I don't think this is needed