Fix SpecFile method call for getting path

Signed-off-by: Tomas Hozza <thozza@redhat.com>