Added null trapping for undeclared target attributes in AndroidManifest.xml