Prevent scripts from accidentally deleting program files when no directory is passed as argument