fixed automatic download of package list.

I found broken automatic downloading of packages in new build of erlang.mk. 
Here is fix for it.