rely on --path, instead of using chdir()
add core download check in 'Empty dir' scenario