Catch absolute path exception in gscripts