image info: create parent dir

If the project does not have any tests, target/test-classes will not be
be created during the normal build process.