Not allowing dev version dependencies in release versions of modules

Change-Id: Ib8789f70c6ff08af32419d178c4902cc9a585c06