fixed: when packager/<project_name> is not a directory, i.e. it doesnt exist, it used to fail because we need to write files there