Fixed typo in mkinitcpio call. Added exception catch for attribute errors.