[misc] Removed non-standard shopt call, since it is not needed and isn't guaranteed to be present in all shell environments