only open local-jar if it exists