Add sanity check to extent manipulation (#2073549) Resolves: rhbz#2073549 Signed-off-by: Lukas Czerner <lczerner@redhat.com>