Fixed realpath issues in bootstrap command