Unify FOSUserBundle compatibility check
This was done to prevent strange issue with call to undefined service