fsm: Add <link><master>masterdev<... relation after all dependencies are created