bootstrap: don't rely on realpath