Tweaked the puppet-apply.sh script location recognition code.