mostly to handle build directives in 1.17.
This changes the license-fetching endpoint to respond with 204 in OSS instead of 501. It closes #9827.