fallback to default location when PATH to /usr/pkg/bin is missing
use LOCALBASE instead of hardcoded path
Merge pull request #5560 from iMilnb/develop

pkgin may not be present in $PATH