Call abspath on sharedirs to be sane.