Merge pull request #689 from sbscomp/master

Check if local autosave is present before calling it. Should be fixed in WP 4.0 but is needed for WP 3.9.