Fixes for EL5 and loop mount handling