forgot to only use the basename

Signed-off-by: Mattias Andrée <maandree@operamail.com>