#1200: fix startup_task:finish dependency

This fixes #1200, by deliberately targeting only this particular case.

It is a bit yukky, and #1087 still remains unsolved.

@matthewrmshin, please check against the real-life example and review.