hotfix: the shortcut creation was broken when no dir tree was present