utils: cleanup: TarTest: File.getParent() may return null

unlikely in this context, but make coverity happy.

Change-Id: Id4b0c1a9b5a8a7ab024c8065cbdf237b964bde9d
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>