Fix parse boolean value from config

Fix for issues: https://github.com/freebsd/pkg/issues/619