Added env for os for bash
Fix patch fetching, dont if file is already there