If you run devtool modify with a native recipe, it clearly gets confused between the PN value and the recipe name both when the recipe is named xyz-native and when the recipe is BBCLASSEXTENDed to native (test examples would be apt-native and mtd-utils-native for those two cases respectively). We also need oe-selftest tests for both of these covering modify, build then reset.
Hmm, actually it's only in the BBCLASSEXTENDed case that there appears to be an issue, but we ought to have a test for both.
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=677e8c8e97ec377c5919943a9ca7257787b6ab81