if https url given, upload to https (no switch to ssh) + fixes