selector: allow selecting provides with globs (RhBug: 1148353)
Fix defects found by coverity scan
hy_chksum_str() returns NULL in case of incorrect type
New version: 0.5.2