Merge branch 'issue/1086-name-getPrefix-negative-argument'. Refs #1086.
http://redmine.named-data.net/issues/1086