smurf: Avoid seg fault if an error has occurred
smurf: Allow Python NDG objects t be emptied
Merge branch 'master' of https://github.com/Starlink/starlink