Fix for empty flag when creating launchd file