Improve check for whether or not sprockets is enabled