simplified conditions to test for empty or magic pattern in prepare_pattern
simplified conditions to test for empty or magic pattern in prepare_pattern

also rename _parse_input_args__prepare_magic_pattern ->
_prepare_pattern__magic

mysz/ff,msztolcman/ff