Fix FileNotFoundException when offline=true and deps directory contains spaces