Fixed null ref in --no-source when project.json doesn't contain target frameworks