fix remarks: use 'master' branch by default, define default sandbox based on TMPDIR/TMP/TEMP env vars, use /tmp as fallback