[Tizen][SSO] Fix for GetIdentity

All inputs are validated to avoid blank input from user.

BUG=XWALK-2268
Better use `{}` for this `if`