Deleting Machine from Orchestrator Ui fails: The LicenseKey filed is required

Deleting Machine from Orchestrator Ui fails: The LicenseKey filed is required.

The cause of this issue is, the LicenseKey column/field of the machines table in the Database being empty. 
Updating the machines table with some dummy value will allow to delete the Machine from Orchestrator Ui.

Screenshots for reference: