fix infinite loop in sin_resolver
fix infinite loop in sin_resolver

sin_resolver:get_package_dependencies got in an infinite loop
if the requested package version was not available in
the first (highest) erts version.

Signed-off-by: Mikael Magnusson <4e7a311fb75fcba19ee00424657e05322bd36bf2@users.sourceforge.net>

asceth/sinan,asceth/sinan