You can still pass null as $user, which will cause an error in the following line (notice the $user->getId() call)
https://github.com/SocalNick/ScnSocialAuth/blob/master/src/ScnSocialAuth/Mapper/UserProvider.php#L46

But I can remove the !empty($providerName) call, though it saves a query in case it is empty.