Fix empty string check for FROM_TARBALL
Make logfile readable for all
Fix remaining empty string checks
Exit with return code 1 after an error