Remove garbage from the end of builddir path