libraries/singularity: check for non-object