Do not specify "name" when using pip install --editable

This fixes #6025 by setting "name" to an empty string if the "editable"
param is used, like is already being done for the "requirements" param.