Possibly fixed bug with incorrect package remapping of android attributes

Fix for issue #578