verify array not empty before check

Logged in users may be visiting frontend of sites (on multisite) for which they have no role.
Merge pull request #166 from nerrad/master

verify $current_user->roles array not empty before check