This isn't needed anymore since version 8.0.0
Ref https://github.com/elementary/photos/pull/746/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f