[bug-fix] generate correct dependency coordinates for modules with no
java code generation ('code.kmd' entry in kmd file)

Change-Id: I76da0469a8a521733a950757030836d5ae8a616d