Improve first deploy logic for public folder

./public doesn't exist at first