Bug fix

Fixes the bug that if a symbolic link is created as 'ln -s xx/xx/ xx'
instead of 'ln -s xx/xx xx'. get_link.py can now handle this situation
properly.