core: execute cb from link with hash onyy when the paths are differents