small fix in bootstrap when custom R location is used