Fixes #256
@simo, thank you! Looks good to me, but let me verify.
brilliant! There is no more crash.
Worth noting that recent versions of libselinux do seem to correctly handle NULL here. However, since there are apparently versions that don't, we should still fix.
Commit 3b77666d fixes this pull-request
Pull-Request has been merged by rharwood
Fixes #256