Fix invalid folder path for opt root