You need to check the package metadata before deployment.
Extract the package and go to "/META-INF/vault/properties.xml", Check the name property here which I believe will be the random character.
Check how this name property is getting set and change it accordingly.