I can't find a comprehensive definition for the package name, but it would normally be expected to contain at least 3 elements. It is normal to use a reversed internet domain as a prefix, so it would normally be com.yourcompanyname.appname or similar. I can't tell you why it's failing in your example, but it's probably worth sticking to the 'normal' implementation. Perhaps someone has a proper definition, or can explain why this is happening.
It's probably something to do with the structure of the files in the package which is based on the package name.