avocado.job.py: Change test name resolution

So avocado can correctly find data files for a test that
is referenced by its alias.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>