Use basename for symlink

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>