Revrat and Orto
Only create a Variable on the SCCM collection with a NULL value and do not create a Task Sequence variable for OSDComputername.
By default the TS will check the collection variables and if Null prompt you.
I had the same problem and its working great now that I removed the TS variable.
Hope this helps
PS. We using SCCM R3 with NO MDT