[PATCH V2] security: Ensure file exists before attempting to restore label