Maintenance fails to remove older backup files

FreePBX Version: 10.13.66-21
Module: Backup & Restore
Issue: Backup module nightly run saves the backup file correctly. When the run goes into its maintenance mode it cannot find the directory backup creates (which is the name of the backup in FreePBX)

backup.log

September 7, 2017, 4:45 am - Backup Lock acquired!
September 7, 2017, 4:45 am - Running pre-backup hooks…
September 7, 2017, 4:45 am - Adding items…
September 7, 2017, 4:46 am - Building manifest…
September 7, 2017, 4:46 am - Creating backup…
September 7, 2017, 4:49 am - Storing backup…
September 7, 2017, 4:49 am - Saving file to remote ftp
September 7, 2017, 4:52 am - Backup file uploaded to the remote server
September 7, 2017, 4:52 am - Running maintenance…
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170821-054901-1503308941-13.0.192.16-750713648.tgz
September 7, 2017, 4:52 am - Could not find 20170821-054901-1503308941-13.0.192.16-750713648.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170822-054901-1503395341-13.0.192.16-2126144691.tgz
September 7, 2017, 4:52 am - Could not find 20170822-054901-1503395341-13.0.192.16-2126144691.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170823-054901-1503481741-13.0.192.16-1259796177.tgz
September 7, 2017, 4:52 am - Could not find 20170823-054901-1503481741-13.0.192.16-1259796177.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170824-044501-1503564301-13.0.192.16-208948147.tgz
September 7, 2017, 4:52 am - Could not find 20170824-044501-1503564301-13.0.192.16-208948147.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170825-044501-1503650701-13.0.192.16-571673130.tgz
September 7, 2017, 4:52 am - Could not find 20170825-044501-1503650701-13.0.192.16-571673130.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170825-065058-1503658258-13.0.192.16-1703126306.tgz
September 7, 2017, 4:52 am - Could not find 20170825-065058-1503658258-13.0.192.16-1703126306.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170826-044501-1503737101-13.0.192.16-139590199.tgz
September 7, 2017, 4:52 am - Could not find 20170826-044501-1503737101-13.0.192.16-139590199.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170827-044501-1503823501-13.0.192.16-2055195524.tgz
September 7, 2017, 4:52 am - Could not find 20170827-044501-1503823501-13.0.192.16-2055195524.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170828-044502-1503909902-13.0.192.16-229589649.tgz
September 7, 2017, 4:52 am - Could not find 20170828-044502-1503909902-13.0.192.16-229589649.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170829-044502-1503996302-13.0.192.16-1728838938.tgz
September 7, 2017, 4:52 am - Could not find 20170829-044502-1503996302-13.0.192.16-1728838938.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170830-044502-1504082702-13.0.192.16-1161317087.tgz
September 7, 2017, 4:52 am - Could not find 20170830-044502-1504082702-13.0.192.16-1161317087.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170831-044501-1504169101-13.0.192.16-1204974095.tgz
September 7, 2017, 4:52 am - Could not find 20170831-044501-1504169101-13.0.192.16-1204974095.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170901-044501-1504255501-13.0.192.16-1226949608.tgz
September 7, 2017, 4:52 am - Could not find 20170901-044501-1504255501-13.0.192.16-1226949608.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170902-044502-1504341902-13.0.192.16-2057094359.tgz
September 7, 2017, 4:52 am - Could not find 20170902-044502-1504341902-13.0.192.16-2057094359.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170903-044502-1504428302-13.0.192.16-1529413327.tgz
September 7, 2017, 4:52 am - Could not find 20170903-044502-1504428302-13.0.192.16-1529413327.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170904-044502-1504514702-13.0.192.16-1469219110.tgz
September 7, 2017, 4:52 am - Could not find 20170904-044502-1504514702-13.0.192.16-1469219110.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170905-044502-1504601102-13.0.192.16-1641842704.tgz
September 7, 2017, 4:52 am - Could not find 20170905-044502-1504601102-13.0.192.16-1641842704.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170821-054901-1503308941-13.0.192.16-750713648.tgz
September 7, 2017, 4:52 am - Could not find 20170821-054901-1503308941-13.0.192.16-750713648.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170822-054901-1503395341-13.0.192.16-2126144691.tgz
September 7, 2017, 4:52 am - Could not find 20170822-054901-1503395341-13.0.192.16-2126144691.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170823-054901-1503481741-13.0.192.16-1259796177.tgz
September 7, 2017, 4:52 am - Could not find 20170823-054901-1503481741-13.0.192.16-1259796177.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170824-044501-1503564301-13.0.192.16-208948147.tgz
September 7, 2017, 4:52 am - Could not find 20170824-044501-1503564301-13.0.192.16-208948147.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170825-044501-1503650701-13.0.192.16-571673130.tgz
September 7, 2017, 4:52 am - Could not find 20170825-044501-1503650701-13.0.192.16-571673130.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170825-065058-1503658258-13.0.192.16-1703126306.tgz
September 7, 2017, 4:52 am - Could not find 20170825-065058-1503658258-13.0.192.16-1703126306.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170826-044501-1503737101-13.0.192.16-139590199.tgz
September 7, 2017, 4:52 am - Could not find 20170826-044501-1503737101-13.0.192.16-139590199.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170827-044501-1503823501-13.0.192.16-2055195524.tgz
September 7, 2017, 4:52 am - Could not find 20170827-044501-1503823501-13.0.192.16-2055195524.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170828-044502-1503909902-13.0.192.16-229589649.tgz
September 7, 2017, 4:52 am - Could not find 20170828-044502-1503909902-13.0.192.16-229589649.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170829-044502-1503996302-13.0.192.16-1728838938.tgz
September 7, 2017, 4:52 am - Could not find 20170829-044502-1503996302-13.0.192.16-1728838938.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170830-044502-1504082702-13.0.192.16-1161317087.tgz
September 7, 2017, 4:52 am - Could not find 20170830-044502-1504082702-13.0.192.16-1161317087.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170831-044501-1504169101-13.0.192.16-1204974095.tgz
September 7, 2017, 4:52 am - Could not find 20170831-044501-1504169101-13.0.192.16-1204974095.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170901-044501-1504255501-13.0.192.16-1226949608.tgz
September 7, 2017, 4:52 am - Could not find 20170901-044501-1504255501-13.0.192.16-1226949608.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170902-044502-1504341902-13.0.192.16-2057094359.tgz
September 7, 2017, 4:52 am - Could not find 20170902-044502-1504341902-13.0.192.16-2057094359.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170903-044502-1504428302-13.0.192.16-1529413327.tgz
September 7, 2017, 4:52 am - Could not find 20170903-044502-1504428302-13.0.192.16-1529413327.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170904-044502-1504514702-13.0.192.16-1469219110.tgz
September 7, 2017, 4:52 am - Could not find 20170904-044502-1504514702-13.0.192.16-1469219110.tgz on the remote system
September 7, 2017, 4:52 am - Directory /daily not found
September 7, 2017, 4:52 am - Path: daily/20170905-044502-1504601102-13.0.192.16-1641842704.tgz
September 7, 2017, 4:52 am - Could not find 20170905-044502-1504601102-13.0.192.16-1641842704.tgz on the remote system
September 7, 2017, 4:52 am - Running post-backup hooks…
September 7, 2017, 4:52 am - Backup completed with errors!