[api] fix cleanup of project link information when linked projects got removed
[ci] follow michaels branch code change