Refactor resolving Tasker links to use utility function