Alter form field from module
hook alter normally works on contrib modules. I can see the reason why it has not been working is due to fact that the module needs to be altered got more priority than the altering module. 

To overcome such scenario you need to manually change the priority of your custom module, this can be done by changing the value of weight column in system table.