phase-list: prevent re-adding of existing phase

Throw an error when a phase with an existing name is added again.