Correct GUID "isPermaLink" handling

This corrects the handling of 'isPermaLink' to adhere to both spec and
the comment above the actual test in code. New test returns '1' if
isPermalink is unset, or set to anything but 'false'.