IDEX-771: File shouldn't be commited with null revision