Prevent duplicates in app list

Explicitly unset MARK_DIRS when globbing, so that trailing slashes are removed
and duplicates can be removed.
This prevents duplicate application entries when MARK_DIRS option is active.