refactor release_metadata info extraction into its own function


git-svn-id: svn+ssh://svn.cern.ch/reps/atlasoff/Control/AthenaCommon/trunk@558228 4525493e-7705-40b1-a816-d608a930855b