Can you move this if statement below the DART_VER one? If dart is not on the path we want that message to print out, before we try and run pub.