Fixes possible bug when given name contain dot.

Signed-off-by: crynobone <crynobone@gmail.com>
Remove unused uses.

Signed-off-by: crynobone <crynobone@gmail.com>
Fixes invalid variable

Signed-off-by: crynobone <crynobone@gmail.com>
Prepare for v2.2.1 release.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.2'