cfd7dfd985
When built-in script is not saved, it has empty path, and origin code assumes error with empty path is a depended_error but that's not always the case. Also add protection before access list index 0.