Only remove the purl if it's there + docs