Fixed path issue in minectl

replaced full path by variable