This fixes the following issues:
This fixes the following issues:

 * set correct distribution type (tar or zip)
   * e.g. when your local satis overrides that of the upstream (GitHub)
   * dist urls were ignored when previously no dist was 'provided' (e.g. with SVN)
 * set the correct dist reference

Resolves: #57

Thanks to @njam for reporting!

yonh/satis,gencer/satis,phansys/satis,Tyrael/satis,alcohol/satis,phansys/satis,achristodoulou/satis,achristodoulou/satis,astax-t/satis,alcohol/satis,composer/satis,JeroenDeDauw/satis,monsieurbiz/packages.monsieurbiz.com,MoT3rror/satis,Leftbrained/satis,JeroenDeDauw/satis,ezsystems/satis,atimmer/satis,kavw/satis,alcohol/satis,Flyingmana/satis,monsieurbiz/packages.monsieurbiz.com,desyncr/composer-mirror,desyncr/composer-mirror,composer/satis,andkirby/satis,nfreear/satis,ezsystems/satis,orls/satis,socifi/satis,composer/satis,JamesRezo/satis,Leftbrained/satis,andkirby/satis,ninjaparade/satis,socifi/satis,gencer/satis,rawkode/satis,orls/satis,MoT3rror/satis,bartekmis/satis,ninjaparade/satis,andkirby/satis,astax-t/satis,nfreear/satis,JamesRezo/satis,yonh/satis,alcohol/satis,monsieurbiz/packages.monsieurbiz.com,gencer/satis,kavw/satis,atimmer/satis,ezsystems/satis,Tyrael/satis,bartekmis/satis