Correctly handle unset generated paths