install from source: validate target dir before download