Display OSError in the CLI die message as suggested by Simone

Also handle the case of existing directories with no JAR files
Add parametrized test to handle non-existing/empty client directory