Align the GemfileEntry API with stable branches

See 63462ec